package com.example.shuiyin.enums;

/**
 * 用户状态枚举
 */
public enum UserStatus {
    /**
     * 活跃
     */
    ACTIVE,
    
    /**
     * 禁用
     */
    DISABLED,
    
    /**
     * 锁定
     */
    LOCKED,
    
    /**
     * 待验证
     */
    PENDING_VERIFICATION,
    
    /**
     * 已删除
     */
    DELETED;
    
    /**
     * 获取状态描述
     */
    public String getDescription() {
        switch(this) {
            case ACTIVE: return "活跃";
            case DISABLED: return "禁用";
            case LOCKED: return "锁定";
            case PENDING_VERIFICATION: return "待验证";
            case DELETED: return "已删除";
            default: return this.name();
        }
    }
} 